package com.dl.service;

import org.springframework.web.bind.annotation.RequestParam;

public interface StorageService {
    //提供给其他服务调用，使用RequestParam接收绑定请求参数
    int decrease(@RequestParam("productId") Long productId, @RequestParam("count") Integer count);
}
